package com.example.saiweisi.service.interf;

import com.example.saiweisi.controller.request.ClothesKindRequest;
import com.example.saiweisi.controller.request.NewsRequest;
import com.example.saiweisi.controller.request.PageBaseRequest;
import com.example.saiweisi.model.ClothesKind;
import com.example.saiweisi.model.News;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface INewsService {
    PageInfo<News> page(NewsRequest newsRequest);

    void addnews(News news);

    void deletenews(Long newsId);

    News getById(Long newsId);

    void updatenews(News news);

    void deletesnews(List<Long> newsId);

    List<News> getall();

}
